package com.lianyu507.tools.youdao;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

import java.util.List;

/**
 * Created by Peter on 16/9/11.
 */
@JsonIgnoreProperties(ignoreUnknown=true)
public class Web {

    private String key;

    private List<String> value;

    public String getKey()
    {
        return key;
    }

    public void setKey(String key)
    {
        this.key = key;
    }

    public List<String> getValue()
    {
        return value;
    }

    public void setValue(List<String> value)
    {
        this.value = value;
    }

    @Override
    public String toString()
    {
        String valueStr="";
        if(value!=null){
            valueStr=value.toString().replace("[","").replace("]","");
        }
        return key+","+valueStr;
    }
}
